Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Conversation

thegobot
Copy link
Contributor

Usage

let mediaDst = {
   audio: {}
   video: {parameters: {resolution: {}}}
};

//input => output copy
mediaDst.video.parameters.resolution = {width: 0, height: 0};

//max width = 500 height = auto by aspect ratio
mediaDst.video.parameters.resolution = {width: 500, height: 0};1

//max height = 500 width = auto by aspect ratio
mediaDst.video.parameters.resolution = {width: 0, height: 500};

//width & height as specified by the user
mediaDst.video.parameters.resolution = {width: 500, height: 500};

startStreamingOut(roomId, "rtmp", url, {}, mediaDst)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant